package com.supplychainapi.model;

import java.util.Date;
import javax.persistence.*;

@Table(name="tbuser")
public class Tbuser {
    @Id
    private String fsUserId;

    @Id
    private String fsShopGUID;

    private String fsUserName;

    private String fsPwd;

    private String fsCellphone;

    private String fsStaffId;

    private String fsDeptId;

    private String fsNote;

    private Short fiIsSales;

    private Short fiIsWarn;

    /**
     * 管理门店类型 -- 1=按省市区 \ 2=按门店
     */
    private Short fiManageType;

    /**
     * 省代号
     */
    private Integer fiProvinceId;

    /**
     * 城市代号
     */
    private Integer fiCityId;

    /**
     * 区域代号
     */
    private Integer fiDistrictId;

    private String fsDataSource;

    private Short fiDataKind;

    private Short fiStatus;

    private Date fsCreateTime;

    private String fsCreateUserId;

    private String fsCreateUserName;

    private Date fsUpdateTime;

    private String fsUpdateUserId;

    private String fsUpdateUserName;

    private String fsCompanyGUID;

    @Transient//非表字段，用户登录接口使用
    private String fsShopName;

    /**
     * @return fsUserId
     */
    public String getFsUserId() {
        return fsUserId;
    }

    /**
     * @param fsUserId
     */
    public void setFsUserId(String fsUserId) {
        this.fsUserId = fsUserId == null ? null : fsUserId.trim();
    }

    /**
     * @return fsShopGUID
     */
    public String getFsShopGUID() {
        return fsShopGUID;
    }

    /**
     * @param fsShopGUID
     */
    public void setFsShopGUID(String fsShopGUID) {
        this.fsShopGUID = fsShopGUID == null ? null : fsShopGUID.trim();
    }

    /**
     * @return fsUserName
     */
    public String getFsUserName() {
        return fsUserName;
    }

    /**
     * @param fsUserName
     */
    public void setFsUserName(String fsUserName) {
        this.fsUserName = fsUserName == null ? null : fsUserName.trim();
    }

    /**
     * @return fsPwd
     */
    public String getFsPwd() {
        return fsPwd;
    }

    /**
     * @param fsPwd
     */
    public void setFsPwd(String fsPwd) {
        this.fsPwd = fsPwd == null ? null : fsPwd.trim();
    }

    /**
     * @return fsCellphone
     */
    public String getFsCellphone() {
        return fsCellphone;
    }

    /**
     * @param fsCellphone
     */
    public void setFsCellphone(String fsCellphone) {
        this.fsCellphone = fsCellphone == null ? null : fsCellphone.trim();
    }

    /**
     * @return fsStaffId
     */
    public String getFsStaffId() {
        return fsStaffId;
    }

    /**
     * @param fsStaffId
     */
    public void setFsStaffId(String fsStaffId) {
        this.fsStaffId = fsStaffId == null ? null : fsStaffId.trim();
    }

    /**
     * @return fsDeptId
     */
    public String getFsDeptId() {
        return fsDeptId;
    }

    /**
     * @param fsDeptId
     */
    public void setFsDeptId(String fsDeptId) {
        this.fsDeptId = fsDeptId == null ? null : fsDeptId.trim();
    }

    /**
     * @return fsNote
     */
    public String getFsNote() {
        return fsNote;
    }

    /**
     * @param fsNote
     */
    public void setFsNote(String fsNote) {
        this.fsNote = fsNote == null ? null : fsNote.trim();
    }

    /**
     * @return fiIsSales
     */
    public Short getFiIsSales() {
        return fiIsSales;
    }

    /**
     * @param fiIsSales
     */
    public void setFiIsSales(Short fiIsSales) {
        this.fiIsSales = fiIsSales;
    }

    /**
     * @return fiIsWarn
     */
    public Short getFiIsWarn() {
        return fiIsWarn;
    }

    /**
     * @param fiIsWarn
     */
    public void setFiIsWarn(Short fiIsWarn) {
        this.fiIsWarn = fiIsWarn;
    }

    /**
     * 获取管理门店类型 -- 1=按省市区 \ 2=按门店
     *
     * @return fiManageType - 管理门店类型 -- 1=按省市区 \ 2=按门店
     */
    public Short getFiManageType() {
        return fiManageType;
    }

    /**
     * 设置管理门店类型 -- 1=按省市区 \ 2=按门店
     *
     * @param fiManageType 管理门店类型 -- 1=按省市区 \ 2=按门店
     */
    public void setFiManageType(Short fiManageType) {
        this.fiManageType = fiManageType;
    }

    /**
     * 获取省代号
     *
     * @return fiProvinceId - 省代号
     */
    public Integer getFiProvinceId() {
        return fiProvinceId;
    }

    /**
     * 设置省代号
     *
     * @param fiProvinceId 省代号
     */
    public void setFiProvinceId(Integer fiProvinceId) {
        this.fiProvinceId = fiProvinceId;
    }

    /**
     * 获取城市代号
     *
     * @return fiCityId - 城市代号
     */
    public Integer getFiCityId() {
        return fiCityId;
    }

    /**
     * 设置城市代号
     *
     * @param fiCityId 城市代号
     */
    public void setFiCityId(Integer fiCityId) {
        this.fiCityId = fiCityId;
    }

    /**
     * 获取区域代号
     *
     * @return fiDistrictId - 区域代号
     */
    public Integer getFiDistrictId() {
        return fiDistrictId;
    }

    /**
     * 设置区域代号
     *
     * @param fiDistrictId 区域代号
     */
    public void setFiDistrictId(Integer fiDistrictId) {
        this.fiDistrictId = fiDistrictId;
    }

    /**
     * @return fsDataSource
     */
    public String getFsDataSource() {
        return fsDataSource;
    }

    /**
     * @param fsDataSource
     */
    public void setFsDataSource(String fsDataSource) {
        this.fsDataSource = fsDataSource == null ? null : fsDataSource.trim();
    }

    /**
     * @return fiDataKind
     */
    public Short getFiDataKind() {
        return fiDataKind;
    }

    /**
     * @param fiDataKind
     */
    public void setFiDataKind(Short fiDataKind) {
        this.fiDataKind = fiDataKind;
    }

    /**
     * @return fiStatus
     */
    public Short getFiStatus() {
        return fiStatus;
    }

    /**
     * @param fiStatus
     */
    public void setFiStatus(Short fiStatus) {
        this.fiStatus = fiStatus;
    }

    /**
     * @return fsCreateTime
     */
    public Date getFsCreateTime() {
        return fsCreateTime;
    }

    /**
     * @param fsCreateTime
     */
    public void setFsCreateTime(Date fsCreateTime) {
        this.fsCreateTime = fsCreateTime;
    }

    /**
     * @return fsCreateUserId
     */
    public String getFsCreateUserId() {
        return fsCreateUserId;
    }

    /**
     * @param fsCreateUserId
     */
    public void setFsCreateUserId(String fsCreateUserId) {
        this.fsCreateUserId = fsCreateUserId == null ? null : fsCreateUserId.trim();
    }

    /**
     * @return fsCreateUserName
     */
    public String getFsCreateUserName() {
        return fsCreateUserName;
    }

    /**
     * @param fsCreateUserName
     */
    public void setFsCreateUserName(String fsCreateUserName) {
        this.fsCreateUserName = fsCreateUserName == null ? null : fsCreateUserName.trim();
    }

    /**
     * @return fsUpdateTime
     */
    public Date getFsUpdateTime() {
        return fsUpdateTime;
    }

    /**
     * @param fsUpdateTime
     */
    public void setFsUpdateTime(Date fsUpdateTime) {
        this.fsUpdateTime = fsUpdateTime;
    }

    /**
     * @return fsUpdateUserId
     */
    public String getFsUpdateUserId() {
        return fsUpdateUserId;
    }

    /**
     * @param fsUpdateUserId
     */
    public void setFsUpdateUserId(String fsUpdateUserId) {
        this.fsUpdateUserId = fsUpdateUserId == null ? null : fsUpdateUserId.trim();
    }

    /**
     * @return fsUpdateUserName
     */
    public String getFsUpdateUserName() {
        return fsUpdateUserName;
    }

    /**
     * @param fsUpdateUserName
     */
    public void setFsUpdateUserName(String fsUpdateUserName) {
        this.fsUpdateUserName = fsUpdateUserName == null ? null : fsUpdateUserName.trim();
    }

    /**
     * @return fsCompanyGUID
     */
    public String getFsCompanyGUID() {
        return fsCompanyGUID;
    }

    /**
     * @param fsCompanyGUID
     */
    public void setFsCompanyGUID(String fsCompanyGUID) {
        this.fsCompanyGUID = fsCompanyGUID == null ? null : fsCompanyGUID.trim();
    }

    public String getFsShopName() {
        return fsShopName;
    }

    public void setFsShopName(String fsShopName) {
        this.fsShopName = fsShopName;
    }
}